<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
    <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>约键</title>
    <meta name="description" content="这是一个 index 页面">
    <meta name="keywords" content="index">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="icon" type="image/png" href="/neu_yuejian201/Public/assets/i/favicon.png">
    <link rel="apple-touch-icon-precomposed" href="/neu_yuejian201/Public/assets/i/app-icon72x72@2x.png">
    <meta name="apple-mobile-web-app-title" content="Amaze UI" />
    <script src="/neu_yuejian201/Public/assets/js/echarts.min.js"></script>
    <link rel="stylesheet" href="/neu_yuejian201/Public/assets/css/amazeui.min.css" />
    <link rel="stylesheet" href="/neu_yuejian201/Public//neu_yuejian201/Public/assets/css/amazeui.datatables.min.css" />
    <link rel="stylesheet" href="/neu_yuejian201/Public/assets/css/app.css">
    <script src="/neu_yuejian201/Public/assets/js/jquery.min.js"></script>

</head>
<body data-type="widgets">
    <script src="/neu_yuejian201/Public/assets/js/theme.js"></script>
    <div class="am-g tpl-g">
        <!-- 头部 -->
            <header>
            <!-- logo -->
            <div class="am-fl tpl-header-logo">
                <a href="javascript:;"><img src="/neu_yuejian201/Public/assets/img/logo.png"></a>
            </div>
            <!-- 右侧容 -->
            <div class="tpl-header-fluid">
                <!-- 侧边切换 -->
                <div class="am-fl tpl-header-switch-button am-icon-list">
                    <span>

                </span>
                </div>
                <!-- 其它功能-->
                <div class="am-fr tpl-header-navbar">
                    <ul>
                        <!-- 欢迎语 -->
                        <li class="am-text-sm tpl-header-navbar-welcome">
                            <a href="javascript:;">欢迎你, <span>Amaze UI</span> </a>
                        </li>
                        <!-- 退出 -->
                        <li class="am-text-sm">
                            <a href="<?php echo U('Public/signout');?>">
                                <span class="am-icon-sign-out"></span> 退出
                            </a>
                        </li>
                    </ul>
                </div>
            </div>

        </header>
        <!-- 风格切换 -->
        <div class="tpl-skiner">
            <div class="tpl-skiner-toggle am-icon-cog">
            </div>
            <div class="tpl-skiner-content">
                <div class="tpl-skiner-content-title">
                    选择主题
                </div>
                <div class="tpl-skiner-content-bar">
                    <span class="skiner-color skiner-white" data-color="theme-white"></span>
                    <span class="skiner-color skiner-black" data-color="theme-black"></span>
                </div>
            </div>
        </div>
        
<div class="left-sidebar">
            <!-- 菜单 -->
            <ul class="sidebar-nav">
                <li class="sidebar-nav-link">
                    <a href="<?php echo U('Home/club/clublist');?>">
                        <i class="am-icon-home sidebar-nav-link-logo"></i> 管理俱乐部
                    </a>
                </li>
                <li class="sidebar-nav-link">
                    <a href="<?php echo U('Home/activity/activitylist');?>">
                        <i class="am-icon-table sidebar-nav-link-logo"></i> 管理活动
                    </a>
                </li>
                <li class="sidebar-nav-link">
                    <a href="<?php echo U('Home/game/gamelist');?>">
                        <i class="am-icon-calendar sidebar-nav-link-logo"></i> 管理比赛
                    </a>
                </li>
                <li class="sidebar-nav-link">
                    <a href="<?php echo U('Home/post/postlist');?>">
                        <i class="am-icon-wpforms sidebar-nav-link-logo"></i> 管理帖子

                    </a>
                </li>
                       <li class="sidebar-nav-link">
                    <a href="<?php echo U('Home/video/videolist');?>">
                        <i class="am-icon-wpforms sidebar-nav-link-logo"></i> 管理视频

                    </a>
                </li>

                <li class="sidebar-nav-link">
                    <a href="<?php echo U('Home/prize/prizelist');?>">
                        <i class="am-icon-bar-chart sidebar-nav-link-logo"></i> 管理奖品

                    </a>
                </li>
                <li class="sidebar-nav-link">
                    <a href="<?php echo U('Home/clubadmin/clubadminlist');?>">
                        <i class="am-icon-bar-chart sidebar-nav-link-logo"></i> 管理俱乐部负责人

                    </a>
                </li>
                <li class="sidebar-nav-link">
                    <a href="<?php echo U('Home/master/masterlist');?>">
                        <i class="am-icon-bar-chart sidebar-nav-link-logo"></i> 管理大师

                    </a>
                </li>
                <li class="sidebar-nav-link">
                    <a href="<?php echo U('Home/course/courselist');?>">
                        <i class="am-icon-bar-chart sidebar-nav-link-logo"></i> 管理课程

                    </a>
                </li>
                <li class="sidebar-nav-link">
                    <a href="<?php echo U('Home/train/trainlist');?>">
                        <i class="am-icon-bar-chart sidebar-nav-link-logo"></i> 管理培训

                    </a>
                </li>
            </ul>
        </div>


<!--                 <li class="sidebar-nav-link">
                    <a href="tables.html" class="active">
                        <i class="am-icon-table sidebar-nav-link-logo"></i> 管理活动
                    </a>
                </li> -->
        <!-- 内容区域 -->
        <div class="tpl-content-wrapper">

            <div class="row-content am-cf">
                <div class="row">

                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
                        <div class="widget am-cf">
                            <div class="widget-head am-cf">
                                <div class="widget-title am-fl"><h1 style="display:inline">管理奖品</h1><a href="addprize.html">添加奖品</a></div>
                            </div>
                            <div class="widget-body  widget-body-lg am-fr">

                                    <table width="100%" class="am-table am-table-compact am-table-striped tpl-table-black ">
                                        <thead>
                                            <tr>
                                                <th>序号</th>
                                                <th>奖品名</th>
                                                <th>简介</th>
                                                <th>兑换积分</th>
                                                <th>奖品图片</th>
                                                <th>操作</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <?php if(is_array($prize)): $i = 0; $__LIST__ = $prize;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr class="gradeX">
                                                <td class="am-text-middle"><?php echo ($i); ?></td>
                                                <td class="am-text-middle"><?php echo ($vo["prizename"]); ?></td>
                                                <td class="am-text-middle"><?php echo ($vo["introduction"]); ?></td>
                                                <td class="am-text-middle"><?php echo ($vo["price"]); ?></td>
                                                <td>
                                                    <img src="/neu_yuejian201/Public/photo/<?php echo ($vo["pic"]); ?>" class="tpl-table-line-img" alt="" width="50" height="50">
                                                </td>
                                                <td class="am-text-middle">
                                                    <div class="tpl-table-black-operation">
                                                        <a href="<?php echo U('Home/prize/editprize',array('prizeid'=>$vo['prizeid']));?>">
                                                            <i class="am-icon-pencil"></i> 编辑
                                                        </a>
                                                        <a href="<?php echo U('Home/prize/delete',array('prizeid'=>$vo['prizeid']));?>" class="tpl-table-black-operation-del">
                                                            <i class="am-icon-trash"></i> 删除
                                                        </a>
                                                    </div>
                                                </td>
                                            </tr><?php endforeach; endif; else: echo "" ;endif; ?>
                                        </tbody>
                                    </table>

                            </div>
                        </div>
                    </div>
                </div>

            </div>
        </div>
    </div>
    </div>

        <script src="/neu_yuejian201/Public//neu_yuejian201/Public//neu_yuejian201/Public//neu_yuejian201/Public/assets/js/amazeui.min.js"></script>
    <script src="/neu_yuejian201/Public//neu_yuejian201/Public//neu_yuejian201/Public/assets/js/amazeui.datatables.min.js"></script>
    <script src="/neu_yuejian201/Public//neu_yuejian201/Public/assets/js/dataTables.responsive.min.js"></script>
    <script src="/neu_yuejian201/Public/assets/js/app.js"></script>
</body>

</html>